// 招生管理
export default [
  {
    path: "/selfStudy",
    redirect: "/selfStudy/teachermanagement",
    alwaysShow: false, // will always show the root menu
    name: "selfStudy",
    meta: {
      title: "自考系统",
      icon: "icon-tongkaoguanli",
      roles: ["admin"], // you can set roles in root nav
    },
    children: [
      {
        path: "teachermanagement",
        component: () =>
          import("@/views/SelfStudy/TeacherManagement.vue"),
        name: "TeacherManagement",
        meta: {
          title: "教师管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "addteacher/:rowId/:isLookInfo",
        component: () => import("@/views/SelfStudy/Addteacher.vue"),
        name: "Addteacher",
        meta: {
          title: "添加教师",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "student",
        component: () =>
          import("@/views/SelfStudy/Student.vue"),
        name: "student",
        meta: {
          title: "学生管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "addstudent",
        component: () => import("@/views/SelfStudy/AddStudent.vue"),
        name: "Addstudent",
        meta: {
          title: "添加学生",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "editstudent",
        component: () => import("@/views/SelfStudy/editStudent.vue"),
        name: "editstudent",
        meta: {
          title: "修改学生",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "checkstudent",
        component: () => import("@/views/SelfStudy/CheckStudent.vue"),
        name: "checkStudent",
        meta: {
          title: "查看学生信息",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "studentStatus",
        component: () =>
          import("@/views/SelfStudy/StudentStatus.vue"),
        name: "tudentStatus",
        meta: {
          title: "学籍管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "checkStudentStatus",
        component: () => import("@/views/SelfStudy/CheckStudentStatus.vue"),
        name: "checkStudentStatus",
        meta: {
          title: "查看/编辑学籍",
          roles: ["admin"], // or you can only set roles in sub nav
          keepAlive: false,
        },
        hidden: true,
      },
      {
        path: 'classGrade',
        component: () => import('@/views/SelfStudy/ClassGrade.vue'),
        name: 'ClassGrade',
        meta: {
          title: '班级管理',
          roles: ['admin'] // or you can only set roles in sub nav
        }
      },
      {
        path: 'paperSet',
        component: () => import('@/views/SelfStudy/paperSet.vue'),
        name: 'paperSet',
        meta: {
          title: '论文成绩管理'
        }
      },
      {
        path: 'paperPerformance',
        component: () => import('@/views/SelfStudy/paperPerformance.vue'),
        name: 'paperPerformance',
        meta: {
          title: '流程设置管理'
        }
      },
      {
        path: "statisticalReport",
        component: () => import("@/views/SelfStudy/statisticalReport.vue"),
        name: "/echartsUserStatisticalReport",
        meta: {
          title: "统计分析",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/selfStudy/studentscore",
        component: () => import("@/views/SelfStudy/Studentscore.vue"),
        name: "studentscore",
        meta: {
          title: "成绩单管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/selfStudy/achievementdetail/:id?/:isEdit?",
        component: () => import("@/views/SelfStudy/Achievementdetail.vue"),
        name: "achievementdetail",
        meta: {
          title: "成绩单详情",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true
      },
      {
        path: "/selfStudy/printdetail/:id",
        component: () => import("@/views/SelfStudy/Printdetail.vue"),
        name: "printdetail",
        meta: {
          title: "打印详情",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true
      },
      {
        path: "/selfStudy/entergrades",
        component: () => import("@/views/SelfStudy/Entergrades"),
        name: "Entergrades",
        meta: {
          title: "录入学生成绩",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true
      },
      {
        path: "Graduationtemplate",
        component: () => import("@/views/SelfStudy/Graduationtemplate.vue"),
        name: "graduationtemplate",
        meta: {
          title: "毕业模板",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "Addgraduationtemplate",
        component: () => import("@/views/SelfStudy/Addgraduationtemplate.vue"),
        name: "addgraduationtemplate",
        meta: {
          title: "毕业模板添加",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "detailsgraduation",
        component: () => import("@/views/SelfStudy/detailsgraduation.vue"),
        name: "detailsgraduation",
        meta: {
          title: "毕业模板详情",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "Graduationreport",
        component: () => import("@/views/SelfStudy/Graduationreport.vue"),
        name: "graduationreport",
        meta: {
          title: "毕业策略",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "Thegraduate",
        component: () => import("@/views/SelfStudy/Thegraduate.vue"),
        name: "thegraduate",
        meta: {
          title: "毕业生管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/SelfStudy/Degreeconditions",
        component: () => import("@/views/SelfStudy/Degreeconditions.vue"),
        name: "/Degreeconditions",
        meta: {
          title: "学位条件",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/SelfStudy/Degreeexamination",
        component: () => import("@/views/SelfStudy/Degreeexamination.vue"),
        name: "/Degreeexamination",
        meta: {
          title: "学位考试管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/SelfStudy/Examineemanage",
        component: () => import("@/views/SelfStudy/Examineemanage.vue"),
        name: "/Examineemanage",
        meta: {
          title: "考生管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/SelfStudy/Degreescore",
        component: () => import("@/views/SelfStudy/Degreescore.vue"),
        name: "/Degreescore",
        meta: {
          title: "学位成绩管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "/SelfStudy/Printdetail/:id",
        component: () => import("@/views/SelfStudy/Printdetail.vue"),
        name: "/Printdetail",
        meta: {
          title: "学位成绩详情",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "/SelfStudy/questionnaires",
        component: () => import("@/views/SelfStudy/questionnaire.vue"),
        name: "/questionnaires",
        meta: {
          title: "调查问卷表管理",
          roles: ["admin"], // or you can only set roles in sub nav
        },
      },
      {
        path: "superintAdministration",
        component: () =>
          import("@/views/SelfStudy/superintAdministration.vue"),
        name: "superintAdministration",
        meta: {
          title: "督导督学管理",
        },
      },
      {
        path: "superintInquire",
        component: () => import("@/views/SelfStudy/superintInquire.vue"),
        name: "superintInquire",
        meta: {
          title: "督导查询",
        },
      },
    
      {
        path: 'course',
        component: () => import('@/views/SelfStudy/Course.vue'),
        name: 'Course',
        meta: {
          title: '课程管理',
          roles: ['admin'] // or you can only set roles in sub nav
        }
      },
      {
        path: 'classroom',
        component: () => import('@/views/SelfStudy/Classroom.vue'),
        name: 'Classroom',
        meta: {
          title: '教室管理',
          roles: ['admin'] // or you can only set roles in sub nav
        }
      },
      {
        path: 'organization',
        component: () => import('@/views/SelfStudy/Organization.vue'),
        name: 'Organization',
        meta: {
          title: '机构管理',
          roles: ['admin'] // or you can only set roles in sub nav
        }
      },
      {
        path: 'personnel',
        component: () => import('@/views/SelfStudy/Personnel.vue'),
        name: 'Personnel',
        meta: {
          title: '人员管理',
          roles: ['admin'] // or you can only set roles in sub nav
        }
      },
    ],
  },
];

